import { createRouter, createWebHashHistory } from "vue-router";

const routers = [{
	path: '/',
	component:() => import('../views/main.vue'),
	redirect: '/test',
	children: [
		{
            path: '/test',
            name:'test',
            component: () => import('../views/Test.vue')
        },
	]
},{
    path: '/test',
    component: () => import('../views/Test.vue')
},

]
const router = createRouter({
	history: createWebHashHistory(),
	// base:'/disk/',
	routes:routers,
});


router.afterEach((to) => {
	
})

export default router;